# RayRC
# Startup file for mental ray in 3ds max


# Include the standard 3ds max shaders

registry "{_MI_REG_INCLUDE}" value ".\shaders_standard\mentalray\include" end registry
registry "{_MI_REG_LIBRARY}" value ".\shaders_standard\mentalray\shaders" end registry
$include ".\shaders_standard\mentalray\standard.mi"
$lookup "{_AUTODESK_REG_3DSMAX_LOAD_STANDARD_SHADERS}"


# Include the 3rd party shaders

registry "{_MI_REG_INCLUDE}" value ".\shaders_3rdparty\mentalray\include" end registry
registry "{_MI_REG_LIBRARY}" value ".\shaders_3rdparty\mentalray\shaders" end registry
$include ".\shaders_3rdparty\mentalray\3rdparty.mi"
$lookup "{_AUTODESK_REG_3DSMAX_LOAD_3RDPARTY_SHADERS}"


# Define the auto-loading lookup directory.
# 3ds max will automatically try to load all .dll files found in the "shaders" subfolder
# and will parse all .mi and .mi2 files in the "include" subfolder.
# Auto-loading may be disabled by commenting out this line.

registry "{_AUTODESK_REG_3DSMAX_AUTOLOOKUP_ROOT}" value ".\shaders_autoload\mentalray" end registry

registry "{_MI_REG_LIBRARY}" value "..\hardwareshaders\MetaSL" end registry
registry "{_MI_REG_LIGHT_RELATIVE_SCALE}" value "0.3183098861837906839" end registry

